import ErrorBoundary from '@/components/ErrorBoundary'
import styles from './index.module.less'

const Main = ({ children }) => {
  return (
    <ErrorBoundary>
      <div className={styles.main}>{children}</div>
    </ErrorBoundary>
  )
}

export default Main
